package types

type ProjectMemberCountList struct {
	ProjectId int64 `json:"project_id"`
	Count     int64 `json:"count"`
}

type ProjectMember struct {
	ID              int    `json:"id"`
	ProjectID       int    `json:"project_id"`
	RoleCode        string `json:"role_code"`
	UserID          int64  `json:"user_id"`
	UUID            string `json:"uuid"`
	StepCategoryIds string `json:"step_category_ids"`
	Type            string `json:"type"`
	RoleID          int    `json:"role_id"`
}

type ProjectMemberSelectRes struct {
	Code int    `json:"code"`
	Msg  string `json:"msg"`
	Data Data   `json:"data"`
}

type Data struct {
	Total int             `json:"total"`
	Rows  []ProjectMember `json:"rows"`
}
type ProjectMemberSelectReqParamFilter struct {
	ProjectId int64 `json:"project_id"`
	RoleId    int64 `json:"role_id"`
}
type ProjectMemberSelectReqParam struct {
	Page   []int                             `json:"page"`
	Filter ProjectMemberSelectReqParamFilter `json:"filter"`
}
type ProjectMemberSelectReq struct {
	Param ProjectMemberSelectReqParam `json:"param"`
}
